package com.yuncheng.spcyApi.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yuncheng.common.base.service.BaseService;
import com.yuncheng.spcyApi.entity.SysUserFbwz;
import com.yuncheng.spcyApi.vo.common.OrderItemVo;
import com.yuncheng.spcyApi.vo.common.PageVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * @Description: 审评查验-用户发表文章
 * @Author: yuncheng
 * @Date: 2023-10-09
 * @Version: V1.0
 */
public interface ISysUserFbwzService extends BaseService<SysUserFbwz> {
    // 分页查询
    IPage<SysUserFbwz> selectPageList(SysUserFbwz query, PageVo pageVo, OrderItemVo orderItemVo);

    List<SysUserFbwz> selectAllList(SysUserFbwz query);

    // 添加
    SysUserFbwz addFbwz(SysUserFbwz query);

    // 修改
    void updatwFbwz(SysUserFbwz buffer) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException;

    // 修改文章
    void updatwFbwzById(SysUserFbwz buffer) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException;

    // 删除
    void deleteFbwz(String ids);
}
